package com.example.lab05.service.Impl;

import com.example.lab05.entity.Product;
import com.example.lab05.repository.GenericRepository;
import com.example.lab05.service.ProductService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.math.BigInteger;

@Service
public class ProductServiceImpl extends GenericServiceImpl<Product, BigInteger> implements ProductService {
    @Override
    @Autowired
    public void setGenericRepository(GenericRepository<Product, BigInteger> genericRepository) {
        super.genericRepository = genericRepository;
    }
}